package com.atguigu.springboot_demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.Map;
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Component
@ConfigurationProperties(prefix = "student")
public class Student {
    private Integer stuId;
    private String stuName ;
    private Boolean graduated ;
    private String [] subject ;
    private Date birthday ;
    private Map<String,String> teachers ;
    private Address address ;
}
